local function adminsOnly(ply)
	if IsValid(ply) and ply:IsPlayer() and (not (ply:IsUserGroup("council") or ply:IsUserGroup("devcoowner") or ply:IsUserGroup("owner") or ply:IsUserGroup("coowner"))) then
		return false
	end
end

hook.Add("PlayerSpawnVehicle", "PlayerSpawnVehicleadminsonly", adminsOnly)
hook.Add("PlayerSpawnSWEP", "PlayerSpawnSWEPadminsonly", adminsOnly)
hook.Add("PlayerGiveSWEP", "PlayerGiveSWEPadminsonly", adminsOnly)
hook.Add("PlayerSpawnSENT", "PlayerSpawnSENTadminsonly", adminsOnly)
hook.Add("PlayerSpawnNPC", "PlayerSpawnNPCadminsonly", adminsOnly)
hook.Add("PlayerSpawnRagdoll", "PlayerSpawnRagdolladminsonly", adminsOnly)